package ui.activity.wallet.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.wallet.biz.RewardsSummaryBiz;
import ui.activity.wallet.contract.RewardsSummaryContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class RewardsSummaryModule {
    private RewardsSummaryContract.View view;

    public RewardsSummaryModule(RewardsSummaryContract.View view) {
        this.view = view;
    }

    @Provides
    public RewardsSummaryContract.View provideView() {
        return view;
    }

    @Provides
    public RewardsSummaryBiz provideBiz() {
        return new RewardsSummaryBiz();
    }
}